package mysql_9_18_entity;

import java.io.Serializable;
import java.util.Date;

public class Student implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 4875286882647198235L;
	private long stuNo, gradeID;
	private String stuName, sex, telPhone, address;
	private Date enterDate, birthday;
	private transient String pass;

	public long getStuNo() {
		return stuNo;
	}

	public void setStuNo(int stuNo) {
		this.stuNo = stuNo;
	}

	public long getGradeID() {
		return gradeID;
	}

	public void setGradeID(int gradeID) {
		this.gradeID = gradeID;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getTelphone() {
		return telPhone;
	}

	public void setTelphone(String telphone) {
		this.telPhone = telphone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getEnterdate() {
		return enterDate;
	}

	public void setEntedate(Date entedate) {
		this.enterDate = entedate;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	@Override
	public String toString() {
		return "Student [stuNo=" + stuNo + ", gradeID=" + gradeID + ", stuName=" + stuName + ", sex=" + sex
				+ ", telphone=" + telPhone + ", address=" + address + ", enterdate=" + enterDate + ", birthday="
				+ birthday + "]";
	}

}
